package com.itheima.stock.common.domian;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author: siwukun
 * @date: 2022/06/08
 * @description: 个股最新分时行情数据
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class StockRtIndexInfoDomain {



            private Long tradeAmt;//最新交易量
            private BigDecimal preClosePrice; //前收盘价格
            private BigDecimal lowPrice;//最低价
            private BigDecimal highPrice;//最高价
            private BigDecimal openPrice;//开盘价
            private BigDecimal tradeVol; //交易金额
            private BigDecimal tradePrice;//当前价格
//            @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
            private String curDate; //当前日期
}
